def greater(filename):
    list_1 = []
    with open(filename) as f:
        for str1 in f:
            list_1+=str1.split()
    return list(map(int, list_1))

assert greater('1.txt') == [67, 81, 44, 84, 90, 99, 45, 26, 89, 30, 75, 76]